package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.entity.Movies;

import java.util.List;
import java.util.Map;

public interface MovieService {
    PageInfo findByPage(Integer pageNum, Integer pageSize, Integer cid, String keyword);

    void deleteBatch(Integer[] ids);

    Map<String, List<Movies>> findMovieListMap();

    Movies findById(Integer id);

    List<Movies> selectByCategoryId(String id);


    void add(Movies movies);

    void update(Movies movies);

}
